//
//  AppDelegate.swift
//  WanAndroidLearn
//
//  Created by TRS-Mobile on 2023/10/31.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    // MARK: UI
    
    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.theme.backgroundColor = themed { $0.background }
        let navi = NavigationController(rootViewController: ViewController())
        window?.rootViewController = navi
        window?.makeKeyAndVisible()
        
        return true
    }

}

